﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectRoughWork
{
    class EventGiveXP : BaseEventData
    {
        /// <summary>
        /// 2-Parameter Constructor to initialize the actor to give XP to and the amount of XP given
        /// </summary>
        /// <param name="initActorID">The ID of the actor to give XP to</param>
        /// <param name="initXp">The amount of XP to give</param>

        public EventGiveXP(int initActorID, int initXp)
            : base()
        {
            eventType = "GiveXP";

            actorID = initActorID;
            xp = initXp;
        }

        /// <summary>
        /// Property to retrieve the ID of the actor to give XP to
        /// </summary>

        public int ActorID
        {
            get { return actorID; }
        }

        /// <summary>
        /// Property to retrieve the amount of XP to give
        /// </summary>

        public int XP
        {
            get { return xp; }
        }

        //Data Members

        int actorID;            //The ID of the actor to give XP to
        int xp;                 //The amount of XP to give
    }
}
